package cn.easy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author 张澎_9970
 * @date 2021.12.13 下午 7:18 星期一
 * @desc:
 * @EnableEurekaClient, 可以不加
 * @EnableDiscoveryClient,相当于接口, 开启注册
 */
@SpringBootApplication
@MapperScan(basePackages = "cn.easy.dao")
@EnableEurekaClient
@EnableDiscoveryClient
public class UserProviderApplication2 {
    public static void main(String[] args) {
        SpringApplication.run(UserProviderApplication2.class);
    }
}
